from django.urls import path
from . import views

urlpatterns = [
    path('', views.GameListView.as_view(), name='game-list'),
    path('<int:pk>/', views.GameDetailView.as_view(), name='game-detail'),
    path('<int:game_id>/play_card/', views.play_card, name='play-card'),
    path('<int:game_id>/ai_play_card/', views.ai_play_card, name='ai-play-card'),
    path('<int:game_id>/create_next_round/', views.create_next_round, name='create-next-round'),
    path('<int:game_id>/finish_game/', views.finish_game, name='finish-game'),
    path('<int:game_id>/status/', views.game_status, name='game-status'),
    path('<int:game_id>/user_info/', views.game_user_info, name='game-user-info'),
    path('<int:game_id>/join/', views.join_game, name='join-game'),
    path('start_ai_game/', views.start_ai_game, name='start-ai-game'),
]
